package cn.buyclss.backend.entity.po.shop;

import cn.buyclss.backend.entity.dto.OrderSpecsValueAndCountDTO;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * @author: Cecurio
 * @create: 2019-03-22 10:11
 **/
public class OrderDetailPO {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    private Integer orderId;
    private Long totalMoney;

    List<OrderSpecsValueAndCountDTO> specsList;

    public Long getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Long totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public List<OrderSpecsValueAndCountDTO> getSpecsList() {
        return specsList;
    }

    public void setSpecsList(List<OrderSpecsValueAndCountDTO> specsList) {
        this.specsList = specsList;
    }
}
